package com.ruoyi.app.domain.project.labor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 作用：员工离岗(解雇)
 * </p>
 *
 * @author Zane
 * @since 2025-10-17 18:01
 */
@Getter
@Setter
@Accessors(chain = true)
public class ProjectLaborFire {

  /**
   * 主键
   */
  @NotNull(message = "主键不能为空")
  private Long id;

  /**
   * 天数
   */
  @NotNull(message = "天数不能为空")
  @Min(value = 1, message = "天数不能小于1天")
  private Integer realDays;

}
